package com.itheima.enumdemo;

public enum Season {
    //春,夏,秋,冬
    SUMMER {
        @Override
        public void show() {

        }
    }, SPRING(){
        @Override
        public void show() {

        }
    },AUTUMN {
        @Override
        public void show() {

        }
    },WINTER {
        @Override
        public void show() {

        }
    };

    private String name;
    private Season(){

    }

    private Season(String name) {
        this.name = name;
    }

    public void sing(){
        System.out.println("来一首只因你太美");
    }
    public abstract  void show();
}
